
#ifndef SOKO_URL_DECODER_H
#define SOKO_URL_DECODER_H

#include <string>

namespace soko {


	class URLDecoder {

	public:

		URLDecoder();

		URLDecoder & operator>>(const std::wstring & string);

		const std::string & toBytes() const {
			return _bytes;
		}

	private:

		std::string _bytes;
		char        _hex2IndexMap[256];

	};


}

using soko::URLDecoder;

#endif //SOKO_URL_DECODER_H
